package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 home_user
 * 
 * @author ruoyi
 * @date 2024-03-02
 */
public class HomeUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNumber;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 头像 */
    @Excel(name = "头像")
    private String headPortrait;

    /** 是否销售人员 0否 1是 */
    @Excel(name = "是否销售人员 0否 1是")
    private Integer isSale;

    /**
     * openId
     */
    private String openId;

    /**
     * 是否删除 0未删除 1已删除
     */
    private Integer isDelete;

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setHeadPortrait(String headPortrait) 
    {
        this.headPortrait = headPortrait;
    }

    public String getHeadPortrait() 
    {
        return headPortrait;
    }
    public void setIsSale(Integer isSale) 
    {
        this.isSale = isSale;
    }

    public Integer getIsSale() 
    {
        return isSale;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("headPortrait", getHeadPortrait())
            .append("isSale", getIsSale())
            .append("createTime", getCreateTime())
            .toString();
    }
}
